| Fully Qualified Name: | Zend\Cache\Storage\Adapter\FilesystemIterator |
| Implements: | IteratorInterface |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | FilesystemIterator |
| current() | Get current key, value or metadata. | FilesystemIterator |
| getMode() | Get iterator mode | FilesystemIterator |
| getStorage() | Get storage instance | FilesystemIterator |
| key() | Get current key | FilesystemIterator |
| next() | Move forward to next element | FilesystemIterator |
| rewind() | Rewind the Iterator to the first element. | FilesystemIterator |
| setMode() | Set iterator mode | FilesystemIterator |
| valid() | Checks if current position is valid | FilesystemIterator |
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $storage | \Filesystem | |
| $path | string | |
| $prefix | string |
Returns:
Get current key, value or metadata.
Returns: mixed
Get iterator mode
Returns: int Value of IteratorInterface::CURRENT_AS_*
Get storage instance
Returns: \Filesystem
Get current key
Returns: string
Move forward to next element
Returns: void
Rewind the Iterator to the first element.
Returns: bool false if the operation failed.
Set iterator mode
| Parameter Name | Type | Description |
|---|---|---|
| $mode | int |
Returns: \FilesystemIterator Provides a fluent interface
Checks if current position is valid
Returns: bool